package com.hxd.Login.LoginService;

import com.hxd.pojo.User;

import javax.mail.MessagingException;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;

public interface loginService {
    Boolean verify(User user, HttpSession session);

    User verification(User user);

    int verifeCode(User user) throws MessagingException;

    void modifyUserPassword(User user);

    void getImage(HttpSession session, HttpServletResponse response) throws IOException;
}
